package com.bdqn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户级别
 *
 * @author lilibo
 * @date 2021/10/05
 */
@Api("用户级别")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("shop_user_level")
public class ShopUserLevel extends Model<ShopUserLevel> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户级别ID
     */
    @ApiModelProperty("用户级别ID")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 级别名称
     */
    @ApiModelProperty("级别名称")
    private String name;

    /**
     * 描述
     */
    @ApiModelProperty("描述")
    private String description;

}
